<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
	<base href="<{$B_Url}>" />
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>在线客服系统</title> 
	<load href="__PUBLIC__/bootstrap/css/bootstrap.min.css" />
	<load href="__PUBLIC__/bootstrap/css/bootstrap-theme.min.css" /> 
	<load href="__PUBLIC__/bootstrap/js/jquery.min.js" />
	<load href="__PUBLIC__/bootstrap/js/bootstrap.min.js" />  
    <script type="text/javascript" src="__PUBLIC__/index/js/jquery.form.js" ></script>
	<style type="text/css">
 body{ padding-top:60px; }
	</style>
</head>
<body>
<nav class="navbar inlisthead navbar-fixed-top"> 
  	<h2>关键词</h2> 
</nav>  
<div class="list-group">
<foreach name="ks" item="u">
  <a dt="{$u.title}" class="list-group-item">
  	<span class="glyphicon glyphicon-menu-right"></span> 
    <b>{$u.title}</b>
  </a>
</foreach>
</div> 
</body>
<script language="javascript">
$(function(){
	$('.list-group a').click(function(){
		var parm = {key:$(this).attr('dt')};
		var url = '/index.php/Kefu/saveTmp';
		$.post(url,parm,function(obj){
			alert(obj.m);
			if(obj.s){
				alert('OK  close page');
			}
		},'json');
	});
});
</script>
</html>